﻿using System;

namespace program2
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = 12;
            {

                int y = 90;
                Console.WriteLine("x=" + x);
                Console.WriteLine("y=" + y);
                //Y的作用域只能在（）以内
            }
            Console.WriteLine("x="+x);

        }
    }
}
